//
//  ZDBaseModel.h
//  newBooks
//
//  Created by 张 on 2018/11/28.
//  Copyright © 2018年 pro2. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <YYModel/YYModel.h>
@class CollectModel;

@interface ZDBaseModel : NSObject<NSCopying,NSCoding>

@property (copy, nonatomic) NSString * ID;

/**
 描述文字
 */
@property (copy, nonatomic) NSString * content;

/**
 背景图片
 */
@property (copy, nonatomic) NSString * images;

/**
 分类id
 */
@property (copy, nonatomic) NSString * category_id;

/**
 作者
 */
@property (copy, nonatomic) NSString * provenance;

/**
 模板类型
 */
@property (assign, nonatomic) NSInteger template_type;

/**
 收藏
 */
@property (assign, nonatomic) NSInteger is_collect;

/**
 是否需要编辑
 */
@property (assign, nonatomic) BOOL is_edit;

/**
 鸡汤id
 */
@property (copy, nonatomic) NSString * chicken_id;

@end

@interface CollectModel : ZDBaseModel

/**
 鸡汤id
 */
@property (copy, nonatomic) NSString * chicken_id;

/**
 用户id
 */
@property (copy, nonatomic) NSString * user_id;

/**
 鸡汤对象
 */
@property (copy, nonatomic) ZDBaseModel * chicken_data;


@end




